"""advance_view URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add an import:  from blog import urls as blog_urls
    2. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""
from django.conf.urls import include, url
from django.contrib import admin
from view_study.views import *
from submit_form_case.views import *
from cookie_and_session.views import *
from moudle_language.views import *
from moudle_inherit.views import *
from up_photo.views import *
from page_case.views import *
from send_email.views import *

urlpatterns = [
    url(r'^admin/', include(admin.site.urls)),
    url(r"add_name/(.+)", add_name),
    url(r"add_object/p1(.+)p2(.+)", add_object),
    # url("index", index),
    url("post_list", post),
    url("search", search),
    url("get_info/", get_info),
    url("post1/", post1),
    url("check_login/", check_login),
    url("login/", login),
    url("get_login_info", get_login_info, name="get_login_info"),
    url("hello", hello, name="hello world"),
    url("set_cookie", set_cookie),
    url("get_cookie", get_cookie),
    url("del_cookie", del_cookie),
    url("set_session", set_session),
    url("get_session", get_session),
    url("del_session", del_session),
    url("lanague", lanague),
    url("inherit", inherit),
    url("send_photo", send_pic),
    url(r"page/(\d+)/$", page),
    # url("error", error_methord),
    url("send_mail",send_mail),
    url(r"^ueditor/", include("DjangoUeditor.urls"))
]
# header404 = "view_study.views.not_found"
